package org.rency.crawler.fetch.converter;

import java.util.List;

/**
 * 描述: ${TODO}<br>
 * 最近修改时间:2017/11/20 17:59<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/11/20 17:59
 */
public interface DomainConvertor<Domain, Entity> {

  public Domain convertDomain(Entity entity);

  public List<Domain> convertDomain(List<Entity> entityList);

  public Entity convertEntity(Domain domain);

  public List<Entity> convertEntity(List<Domain> domainList);

}
